package com.learn.multDataSource.mapper.mysql;

import com.learn.multDataSource.model.mysql.TKnowRemark;
import com.learn.multDataSource.model.mysql.TKnowRemarkExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TKnowRemarkMapper {
    int countByExample(TKnowRemarkExample example);

    int deleteByExample(TKnowRemarkExample example);

    int deleteByPrimaryKey(Integer remarkId);

    int insert(TKnowRemark record);

    int insertSelective(TKnowRemark record);

    List<TKnowRemark> selectByExample(TKnowRemarkExample example);

    TKnowRemark selectByPrimaryKey(Integer remarkId);

    int updateByExampleSelective(@Param("record") TKnowRemark record, @Param("example") TKnowRemarkExample example);

    int updateByExample(@Param("record") TKnowRemark record, @Param("example") TKnowRemarkExample example);

    int updateByPrimaryKeySelective(TKnowRemark record);

    int updateByPrimaryKey(TKnowRemark record);
}